import request from '@/utils/request'

export function loginEmailCode(data) {
  return request({
    url: '/login-email-code/dispatch',
    method: 'post',
    data
  })
}

export function loginMobileCode(data) {
  return request({
    url: '/login-mobile-code/dispatch',
    method: 'post',
    data
  })
}
